package com.spring.shiro.main.java.model;

import java.io.Serializable;

public class Role implements Serializable{

	private static final long serialVersionUID = 4621255828290250400L;
	
	private Long id;
	
	private String name;
	
	private Integer seq;
	
	private String description;
	
	private Integer status;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description == null ? null : description.trim();
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "Role [id=" + id + ", name=" + name + ", seq=" + seq
				+ ", description=" + description + ", status=" + status + "]";
	}
	
	
}
